package com.genius.util.ConstPool;

public class RedisConstPool {
    public static final String KEY_NAN = "nan";
    public static final String LOGIN_USERNAME_KEY = "illu:login:username:";
    public static final String LOGIN_PHONE_KEY = "illu:login:phone:";
    public static final long LOGIN_CODE_TTL = 2L;  //minutes
    public static final long LOGIN_TOKEN_TTL = 5L; //hours

    public static final String CACHE_APPLIST_KEY = "illu:app:%s";
    public static final long CACHE_APPLIST_TTL =  5L; //hours

    public static final String CACHE_MONTH_TASKLIST_KEY = "illu:tasklist:%s:%s";
    public static final String CACHE_USER_TASKLIST_KEY = "illu:tasklist:%s";

    public static final long CACHE_TASKLIST_TTL = 24L; //hours


    public static final long CACHE_RANDOM_TTL = 10L; //minutes 防止缓存雪崩
}
